package com.shoe.mapper;

import com.shoe.pojo.AdminLogisticPojo;
import com.shoe.vo.AdminLogisticVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AdminLogisticMapper {

    List<AdminLogisticVo> selectALogisticByCondPage(@Param("pag") Integer page, @Param("lim") Integer limit, @Param("lLogisticnum") String logisticLogisticnum, @Param("orState") String orderState);

    List<AdminLogisticVo> selectAdminLogisticByCondition(@Param("orState") String orderState);

    List<AdminLogisticVo> selALogLuiPage(@Param("pag") Integer page, @Param("lim") Integer limit);

    List<AdminLogisticVo> selALogLuiAll();

    int updateALogByCondition(AdminLogisticPojo adminLogisticPojo);

    int deletALogByLId(@Param("logId") Integer logisticId);
}
